﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Pages_Register" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <asp:LoginView ID="LoginView1" runat="server" >
        <AnonymousTemplate>
            <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" 
                AnswerLabelText="Ответ:" BackColor="#FFFBD6" BorderColor="#FFDFAD" 
                BorderStyle="Solid" BorderWidth="1px" 
                CancelDestinationPageUrl="~/Pages/Default.aspx" 
                ConfirmPasswordCompareErrorMessage="Пароль и подтверждение должны совпадать." 
                ConfirmPasswordLabelText="Подтвердите:" 
                ContinueDestinationPageUrl="~/Pages/CustomerDetails.aspx" 
                CreateUserButtonText="Зарегестрироваться" Font-Names="Verdana" 
                Font-Size="0.8em" PasswordLabelText="Пароль:" 
                QuestionLabelText="Секретный вопрос:" UserNameLabelText="Имя:" 
                oncreateduser="CreateUserWizard1_CreatedUser">
                <ContinueButtonStyle BackColor="White" BorderColor="#CC9966" 
                    BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
                    ForeColor="#990000" />
                <CreateUserButtonStyle BackColor="White" BorderColor="#CC9966" 
                    BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
                    ForeColor="#990000" />
                <TitleTextStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <WizardSteps>
                    <asp:CreateUserWizardStep runat="server" Title="Регистрация нового аккаунта" />
                    <asp:CompleteWizardStep runat="server" />
                </WizardSteps>
                <HeaderStyle BackColor="#FFCC66" BorderColor="#FFFBD6" BorderStyle="Solid" 
                    BorderWidth="2px" Font-Bold="True" Font-Size="0.9em" ForeColor="#333333" 
                    HorizontalAlign="Center" />
                <NavigationButtonStyle BackColor="White" BorderColor="#CC9966" 
                    BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
                    ForeColor="#990000" />
                <SideBarButtonStyle ForeColor="White" />
                <SideBarStyle BackColor="#990000" Font-Size="0.9em" VerticalAlign="Top" />
            </asp:CreateUserWizard>
        </AnonymousTemplate>
        <LoggedInTemplate>
            Вы уже зарегестрированы.
        </LoggedInTemplate>
    </asp:LoginView>
</asp:Content>

